package com.naiterui.ehp.bs.doctor.vo.followup;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 一次随访计划复诊详情，包含多次的复诊计划详情
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "包含多次的复诊计划详情")
public class DrFollowUpSubVisitVO {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "计划类型 1=复诊，2=问卷")
    private Integer type;
    /**
     * 随访名称
     */
    @ApiModelProperty(value = "随访名称")
    private String name;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @ApiModelProperty(value = "复诊计划状态 1：待复诊  2：已报道 3：已取消 4：已过期")
    private Integer status;

}
